package com.platform.wechat.mapper;

import com.platform.wechat.entity.FirstVisit;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FirstVisitMapper {

    /**
     * 根据工作时间与医生id查询数据
     * @return
     */
    List<FirstVisit> selectByWorkingTimeAndDoctorId(@Param("officesId") Integer officesId, @Param("hospitalId") Integer hospitalId);

    int deleteByPrimaryKey(Integer id);

    int insert(FirstVisit record);

    int insertSelective(FirstVisit record);

    FirstVisit selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FirstVisit record);

    int updateByPrimaryKey(FirstVisit record);
}